#include <memory>
#include "TcpServer.hpp"
#include "CommendExec.hpp"

int main()
{
	ENABLE_CONSOLE_LOG();
	CommendExec ce;
	std::unique_ptr<TcpServer> tm = std::make_unique<TcpServer>([&ce](std::string str){
		return ce.Execute(str);
	});
	tm->InitServer();
	tm->Start();
	return 0;
}